<?php
require_once("components/config.inc.php");
require_once("model/Course.php");
require_once("model/Hole.php");
require_once("bizlayer/hole_mgmt.php");

header("Content-type: application/json");

if(isset($_POST["holeid"]) && intval($_POST["holeid"])){
	$hole = new Hole();	
	$hole = HoleMgmt::searchHoles($_POST["holeid"], null, null, null)[0];
	
	
	
}
?>